x86-64: also handle virtual aliases of Xen image pages
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 20 May 2009 14:38:34 +0000 (15:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 20 May 2009 14:38:34 +0000 (15:38 +0100)
commit4ad717e086afa108976209d14c93f8fb4716030a
tree90a72eac1301e4188269c6c74c21a9f2c9f7ef17
parent72d202e34c7a75d6f255751e5c55c01d1595ab11
x86-64: also handle virtual aliases of Xen image pages

With the unification of the heaps, the pages freed from the Xen boot
image now can also end up being allocated to a domain, and hence the
respective aliases need handling when such pages get their
cacheability attributes changed.

Rather than establishing multiple mappings with non-WB attributes
(which temporarily still can cause aliasing issues), simply unmap
those pages from the Xen virtual space, and re-map them (to allow re-
establishing of eventual large page mappings) when the cachability
attribute for them gets restored to normal (WB).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/mm.c